<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="导航" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<style type="text/css">
<!--
.style3 {color: #0000CC}
.STYLE1 {
	color: #154F8E;
	font-size: 12px;
}
body {
	background:#EAFAFF;
}
-->
</style>
</head>
<script language="javascript">
	function showCooperBillDialog(){
		parent.setIframeDisplay("none");
		var url="/base/EstablishmentListForSelect.ihtm?type=COOPERATOR&ts_id=DF_TS_ID";
		parent.ShowIframe("选择外协商",url,900,500,"showCooperBillDialogCallBack()");//showCooperBillDialogCallBack是父窗口的
	}
	function showGatherBillDialog(){
		var strUrl="/cooper/CooperBillListForGather.ihtm";
		showWin(900,600,strUrl);
	}
	
	function showAccountDialog(){
		parent.setIframeDisplay("none");
		var url="/base/EstablishmentListForSelect.ihtm?type=COOPERATOR&show_all=S&order_type=BUS_TIME";
		parent.ShowIframeNoScroll("选择外协商",url,900,500,"showCooAccountDialogCallBack()");//showCooAccountDialogCallBack是父窗口的
	}
	function showPayBillDialog(){
		var strUrl="/finance/PayBillNew.ihtm?alert_type=SHOW&pay_type=COOPER";
		showWin(1024,600,strUrl);
	}
</script>
<body  oncontextmenu="return false" scroll="no">
<div class="main">
  <div style="height:500px;">
    <div class="blank48">&nbsp;</div>
		<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
			<tr> 
			    <td width="100%" height="300" align="left">
			    	
			    	<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
			          <tr>
			            <td width="12%" align="center">
			            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COOP;')!=-1}"><a href="javascript:showWin(1024,600,'/cooper/BusinessBillListForCooper.ihtm');"><img src="/images/coo7.gif" border="0" title="查看哪些业务单需要外协" /></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BUSI_COOP;')==-1}"><img src="/images/coo7.gif" border="0" title="查看哪些业务单需要外协" /></c:if>
			            </td>
			            <td width="8%" align="center"><img src="/images/bus001.gif" width="70" height="75" /></td>
			            <td width="14%" align="center">
			            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_BILL;')!=-1}"><a href="javascript:showCooperBillDialog();"><img src="/images/coo0.gif" border="0" title="把业务单外发给同行制作，外协单作为与外协商的交易凭证" /></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';COOP_BILL;')==-1}"><img src="/images/coo0.gif" border="0" title="把业务单外发给同行制作，外协单作为与外协商的交易凭证" /></c:if>
			            </td>
			            <td width="8%" align="center"><img src="/images/bus001.gif" width="70" height="75" /></td>
			            <td width="14%" align="center">
							<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_BILL;')!=-1}"><a href="javascript:showGatherBillDialog();"><img src="/images/coo1.gif" border="0" title="当收到外协商完成的项目，将外协单标记为已收货状态"></a></c:if>
				            <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';GATH_BILL;')==-1}"><img src="/images/coo1.gif" border="0" title="当收到外协商完成的项目，将外协单标记为已收货状态"></c:if>
			            </td>
						<td width="8%" align="center"><img src="/images/bus001.gif" width="70" height="75" /></td>
			            <td width="14%" align="center">
			            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_ACCO;')!=-1}"><a href="javascript:showAccountDialog();"><img src="/images/pur2.gif" border="0" title="查询指定期间与外协商的交易明细，打印或导出对账单"/></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';COOP_ACCO;')==-1}"><img src="/images/pur2.gif" border="0" title="查询指定期间与外协商的交易明细，打印或导出对账单"/></c:if>
			            </td>
						<td width="8%" align="center"><img src="/images/bus001.gif" width="70" height="75" /></td>
			            <td width="14%" align="center">
			            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_BILL;')!=-1}"><a href="javascript:showPayBillDialog();"><img src="/images/coo3.gif" border="0" title="支付给外协商款项后，在这里登记付款信息，核销外协单应付款" /></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';PAY_BILL;')==-1}"><img src="/images/coo3.gif" border="0" title="支付给外协商款项后，在这里登记付款信息，核销外协单应付款" /></c:if>
			            </td>
			          </tr>
			          <tr>
			            <td colspan="4">&nbsp;</td>
			            <td align="center"><img src="/images/bus004.gif" width="65" height="79" /></td>
						<td  colspan="4">&nbsp;</td>
			          </tr>
			          <tr>
			            <td colspan="4">&nbsp;</td>
			            <td align="center">
			            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_COMP;')!=-1}"><a href="javascript:showWin(1024,600,'/cooper/BusinessBillListForCooComp.ihtm');"><img src="/images/coo4.gif" border="0" title="标记业务单已经完成外协" /></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';COOP_COMP;')==-1}"><img src="/images/coo4.gif" border="0" title="标记业务单已经完成外协" /></c:if>
			            </td>
			            <td  colspan="4">&nbsp;</td>
			          </tr>
			        </table>
		        </td>
			</tr>
			<tr>
			  <td align="left" valign="top" >
		  			<br><br>
		  			<table width="679" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
					    <tr>
					      <td width="1%" align="left" valign="top"><img src="/images/bus005.gif" width="8" height="19"></td>
					      <td width="98%" height="19" background="/images/bus006.gif">&nbsp;</td>
					      <td width="1%" align="left" valign="top"><img src="/images/bus010.gif" width="8" height="19"></td>
					    </tr>
					    <tr>
		      				<td width="1%" align="left" valign="top" background="/images/bus007.gif">&nbsp;</td>
		      				<td height="21" valign="top" bgcolor="#D2E9F7">
		      					<table width="101%" border="0" cellspacing="0" cellpadding="0">
						          <tr>
						            <th width="4%" height="21" scope="row">&nbsp;</th>
						            <th width="3%" scope="row"><div align="left"><img src="/images/ico-setup.gif" title=""></div></th>
						            <td width="12%">
						            	<span class="STYLE1">
										<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MAKE_TYPE;')!=-1}"><a href="javascript:showWin(600,500,'/base/MakeTypeList.ihtm');">项目类型</a></c:if>	
										<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';MAKE_TYPE;')==-1}">项目类型	</c:if>						            													
										</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="10%">
						            	<span class="STYLE1">
						            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MAKE_REQU;')!=-1}"><a href="javascript:showWin(600,500,'/base/MakeRequireList.ihtm');">制作要求</a></c:if>
						            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';MAKE_REQU;')==-1}">制作要求</c:if>
						            	</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="10%">
						            	<span class="STYLE1">
										<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ACCE_MARK;')!=-1}"><a href="javascript:showWin(600,500,'/base/AccessoryMarkList.ihtm');">文件说明</a></c:if>						            	
										<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';ACCE_MARK;')==-1}">文件说明</c:if>																		            		
						            	</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="12%">
						            	<span class="STYLE1">
						            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';WORK_CENT;')!=-1}"><a href="javascript:showWin(600,400,'/base/WorkCenterList.ihtm');">工作中心</a></c:if>
						            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';WORK_CENT;')==-1}">工作中心</c:if>
						            	</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="11%">
						            	<span class="STYLE1">
						            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_MODE;')!=-1}"><a href="javascript:showWin(400,300,'/base/PayModeList.ihtm');">付款方式</a></c:if>
						            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';PAY_MODE;')==-1}">付款方式</c:if>
						            	</span>
						            </td>
						            <td width="1%">&nbsp;</td>
						          </tr>
		      					</table>
		      				</td>
		      				<td valign="bottom" background="/images/bus011.gif">&nbsp;</td>
		    			</tr>
					    <tr>
					      <td width="1%" align="left" valign="top"><img src="/images/bus008.gif" width="8" height="19"></td>
					      <td height="19" align="left" valign="top" background="/images/bus009.gif">&nbsp;</td>
					      <td align="left" valign="top"><img src="/images/bus012.gif" width="8" height="19"></td>
					    </tr>
	  			</table>
		   </td>
		</tr>
	</table>  	
  </div>
</div>
</body>
</html>
